﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;



namespace program_controller
{
    class Class1
    {
        static void Main(string[] args)
        {
            //char character1 = (char)Console.Read();
            Console.WriteLine("Initializing Program...");
            program_controller test = new program_controller();
            List<String> str_list = test.list_events();
            for (int i = 0; i < str_list.Count(); i++)
                Console.WriteLine(str_list[i]);

            while (true)
            {
                string stringInput = Console.ReadLine();
                //Console.WriteLine(stringInput);
                int temp = test.activate_event(stringInput);
                if (temp == -1) Console.WriteLine("Event Not Found :-(");
                if (stringInput == "quit") break;
            }

            Console.WriteLine("Program Complete!");
            char character2 = (char)Console.Read();
            
        }

    }
    
}
